<div class="sendcode">

    <WingBlank>
        <Modal [(ngModel)]="this.isShow" [transparent]="true" [footer]="footer" (onClose)="onClose()">

            <div class="title">
                <p>请输入验证码</p>
            </div>
            <p class="p1">为非本机号码报名，需输入短信验证，验证码已发送至<span>{{phone}}</span></p>
            <form [formGroup]="codeForm" (ngSubmit)="sendPhoneCode()">

                <div class="item">
                    <div class="input">
                        <input formControlName="code" type="text">
                    </div>
                    <div class="send">
                        <button *ngIf="!isCanSend" [ngStyle]="{'padding': '0.1rem 0.2rem'}" disabled class="btn">{{lessFont}}</button>
                        <button *ngIf="isCanSend" class="btn">{{lessFont}}</button>
                    </div>
                </div>

                

            </form>

        </Modal>
    </WingBlank>

</div>
